﻿
using System.Collections.Generic;
using System.Xml.Serialization;
using ABC.Domain.Entities;

namespace ABC.Domain.Serialization
{
    public class KaskoExpress
    {
        [XmlAttribute]
        public string UniqueNumber { get; set; }

        public string CarManufacture { get; set; }

        public string CarModel { get; set; }

        public string Release { get; set; }

        public string Power { get; set; }

        public string Credit { get; set; }

        public string Cost { get; set; }

        public string Signaling { get; set; }

        public string Immo { get; set; }

        public string TypeDrivers { get; set; }

        public string MinAge { get; set; }

        public string MinPeriod { get; set; }

        public string Insurant { get; set; }

        public string Region { get; set; }

        public string ControlWheel { get; set; }

        public string Guaranty { get; set; }

        public string IsNewCar { get; set; }

        public string FourWheelDrive { get; set; }

        public string Currency { get; set; }

        public string Maxpath { get; set; }

        public string BeginningOfOperation { get; set; }

        public string DateOfCalculation { get; set; }
        
        public List<Driver> Drivers { get; set; }

        public List<KaskoResult> KaskoResults { get; set; }

        //не участвуют в расчете поля

        public string Path { get; set; }

        public string UnitPath { get; set; }

        public KaskoExpress()
        {
            Drivers = new List<Driver>();
            KaskoResults = new List<KaskoResult>();
        }
    }
}
